  window.addEventListener('DOMContentLoaded', function () {
      var items = document.querySelectorAll('.withdraw_item')
      new Tab('.withdraw_tab', {
        itemClass: '.withdraw_tab_item',
        active: 'withdraw_tab_item--active',
        onClick: function (tag, self) {
          var index = tag.index
          Array.prototype.forEach.call(items, function (ele) {
            ele.classList.add('dn')
          });
          items[index].classList.remove('dn');
        }
      })

    }, false)
    $(function(){
      var balance=$("#balance").val();
      var frozenPrice=$("#frozenPrice").val();
      if(Number(balance)<Number(frozenPrice)){
        $("#canOut").text(0);
      }
    });
